/**
 * 
 */
package com.lorizz.picpub.web.tag;

import com.lorizz.picpub.services.ImageStore;
import com.lorizz.picpub.web.WebEnv;

/**
 * @author wind hong
 * 
 */
public class Functions {

    public static String externalize(String internal) {
        ImageStore imageStore = (ImageStore) WebEnv.instance().getApplicationContext().getBean("imageStore");
        return imageStore.toExternalURL(internal);
    }

}
